//
//  SegmentCell.m
//  BuffetNews
//
//  Created by 大大大鸿哥 on 14/11/7.
//  Copyright (c) 2014年 lanou3g.com 蓝鸥科技. All rights reserved.
//

#import "SegmentCell.h"

@implementation SegmentCell
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.Mylabel = [[UILabel alloc]initWithFrame:CGRectMake(10, 10, 100, 20)];
        
         self.segement= [[UISegmentedControl alloc]initWithItems:@[@"小", @"中", @"大", @"超大"]];
        self.segement.frame = CGRectMake(98, 10, 200, 25);


        [self.contentView addSubview:self.segement];
        [self.contentView addSubview:self.Mylabel];
        [_Mylabel release];
        [_segement release];

    }
    return self;
}
- (void)dealloc
{
    [_Mylabel release];
    [_segement release];
    [super dealloc];
}
- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
